package com.example.demo.mylove.repository;

import com.example.demo.mylove.bean.MyLoveBean;
import com.example.demo.user.bean.UserBean;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MyLoveRepository extends JpaRepository<MyLoveBean,Long> {

     List<MyLoveBean> findAllByUserBean(UserBean userBean);
}
